unpack_real_transform Function

public pure function unpack_real_transform(x, fac) result(rst)

Unpacks a real-valued transform into its complex-valued format.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x(:)

The complex-valued signal stored in a real-valued array. This array is assumed to be of length N.

real(kind=real64), intent(in), optional :: fac

An optional scaling input. The default is 1 such that no scaling is performed.

Return Value complex(kind=real64), allocatable, dimension(:)

The unpacked complex-valued form of the input array.